<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('Distribution/index')}">配送时间列表</a></li>
			<li><a href="{:U('Distribution/add')}">添加配送时间</a></li>
		</ul>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>区域</th>
					<th>截单时间</th>
					<th>天数</th>
					<th>配送时间跨度</th>
					<th width="100">{:L('ACTIONS')}</th>
				</tr>
			</thead>
			<style>td{word-break:break-all;}</style>
			<tbody>
				<php>$sms_statuses=array("0"=>禁用,"1"=>启用);</php>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.city_name}</td>
					<td>{$vo.time}</td>
					<td>{$vo.day}</td>
					<td>{$vo.distributiontime}</td>
					<td>
						<a href='{:U("Distribution/edit",array("id"=>$vo["id"]))}'>{:L('EDIT')}</a> |
						<a class="js-ajax-delete" href="{:U('Distribution/delete',array('id'=>$vo['id']))}">{:L('DELETE')}</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>